package com.lut.edu.apm.payCenter.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lut.edu.apm.payCenter.pojo.OrderDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author Zhao Suzhen
 * @date `2024/4/15`
 */
@Mapper
public interface OrderDetailMapper extends BaseMapper<OrderDetail> {
    /**
     * 查询热销商品
     */
    List<Map<String, Object>> selectHotSelling();

    /**
     * 统计热销类别
     */
    List<Map<String, Object>> selectTypeCount();
}
